package com.talkyun.openx.validator.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface ObjectValidator {
    // 参数名
    String field() default "";

    // 不允许为 null
    boolean notNull() default true;
}